package cn.com.cifi.mars.mapper.mars;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cn.com.cifi.mars.bean.dto.SysPositionOrgDataPermissionDto;
import cn.com.cifi.mars.entity.common.SysPositionOrgDataPermission;

/**
 * <p>
 * 岗位组织机构数据权限表 Mapper 接口
 * </p>
 *
 * @author yyd
 * @since 2019-09-20
 */
public interface SysPositionOrgDataPermissionMapper extends BaseMapper<SysPositionOrgDataPermission> {

	int deletePositionId(@Param("positionId")String positionId);
	
	List<SysPositionOrgDataPermissionDto>selectSysPositionOrgDataPermissionTree(@Param("positionId")String positionId,
			@Param("hrOrgTypeId")String hrOrgTypeId);
}
